package cate.game.role.pvp.eliterace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.pvp.eliterace.data.EliteRaceRedPacketRecord;
import cate.game.role.pvp.eliterace.EliteRaceRedPacketPO;
import easy.java.dev.note.NoteField;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;

import static cate.game.client.msg.id.MsgIdBEliteRace.RED_PACKET_RESP;

@AllArgsConstructor
@NoArgsConstructor
@ClientMsg(title = "精英赛 红包 返回")
public class EliteRaceRedPacketResp implements MsgOutput {

    @NoteField(value = "红包数据")
    public EliteRaceRedPacketPO redPacketPO;

    @NoteField(value = "竞猜银币")
    public long coins;

    @NoteField(value = "领取列表")
    public List<EliteRaceRedPacketRecord> rdList;

    @Override
    public MsgConfig conf() {
        return RED_PACKET_RESP;
    }
}
